package com.cgy.springboot.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;
    private String username;
    private String password;
    private String openId; // 微信openId
    private String nickname;
    private String avatarUrl;
    private String gender;
    private String phone;
    private Date createTime;
    private Date updateTime;

    private String passwordHash;
}
